package com.aynu.webshop.web.model;

import java.util.List;

public class Category {
    private Integer catId;

    private String catName;

    private Integer catCid;

    private String catDetail;
    
    private List<Category> child;

    public List<Category> getChild() {
		return child;
	}

	public void setChild(List<Category> child) {
		this.child = child;
	}

	public Integer getCatId() {
        return catId;
    }

    public void setCatId(Integer catId) {
        this.catId = catId;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName == null ? null : catName.trim();
    }

    public Integer getCatCid() {
        return catCid;
    }

    public void setCatCid(Integer catCid) {
        this.catCid = catCid;
    }

    public String getCatDetail() {
        return catDetail;
    }

    public void setCatDetail(String catDetail) {
        this.catDetail = catDetail == null ? null : catDetail.trim();
    }

	@Override
	public String toString() {
		return "Category [catId=" + catId + ", catName=" + catName + ", catCid=" + catCid + ", catDetail=" + catDetail
				+ ", child=" + child + "]";
	}
    
}